home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / win / cinstp17.zip / CHIEF.FAQ < prev    next >
Text File  |  1995-02-09  |  6KB  |  125 lines

  1.             CHIEF'S INSTALLER PRO: FREQUENTLY ASKED QUESTIONS
  2.             -------------------------------------------------
  3.  
  4. Please READ this file BEFORE contacting me with any questions!!
  5. ^^^^^^                ^^^^^^
  6.  
  7. 1.    Q: WHAT RESERVED WORDS (COMMANDS) DO I ACTUALLY *NEED* IN MY
  8.          WINSTALL.INF FILE?
  9.  
  10.       A: Most of the commands in the INF file are optional. However, some
  11.          of them are essential. At the absolute minimum, you MUST have the
  12.          following;
  13.                    $TITLE
  14.                    $DISK1
  15.                    $SPACE
  16.                    $TARGET
  17.  
  18.  
  19. 2.    Q: WHAT FILES IN THE CHIEF'S INSTALLER PRO PACKAGE ARE ABSOLUTELY
  20.          NECESSARY FOR AN INSTALLATION?
  21.  
  22.       A: As with the commands, most of the files in the package are
  23.          optional. At the absolute minimum, you must have;
  24.                    INSTALL.EXE
  25.                    WINSTALL.INF
  26.  
  27.          The installation will run perfectly well with these two files.
  28.          However, if you want the "banner" to be displayed, you must also
  29.          have WINSTALP.DLL. If you are using a language other than
  30.          English, you must have a copy of WINSTALL.DLL compiled with the
  31.          string resources translated to your language.
  32.  
  33.  
  34. 3.    Q: WHY DO I ALWAYS GET A DIALOG TELLING ME THAT THE INSTALLATION
  35.          IS NOT COMPLETE WHEN I KNOW THAT IT IS?
  36.  
  37.       A: The installer tries to match the figure in your $SPACE line with
  38.          the sizes of the files installed (to approximately 2% either way).
  39.          A substantial (more than 2%) discrepancy leads to this error
  40.          dialog. The solution is to make sure that your $SPACE information
  41.          is accurate, or to disable the end dialog by using the
  42.          $NO-END-DIALOG command.
  43.  
  44.          Note that if you do not ensure the accuracy of your $SPACE line,
  45.          the progress "percent" meter will also not be accurate - and in
  46.          such cases, you SHOULD use $NO-END-DIALOG otherwise your users
  47.          will get a spurious error message which will confuse them into
  48.          thinking that the installation has failed.
  49.  
  50.          The easiest way to calculate ALL your space requirements is to
  51.          run AUTOCALC.EXE, AFTER completing your INF file. You can then
  52.          use the figures that it supplies to replace the ones you had before.
  53.  
  54.          Please NOTE question 7 (below) as well.
  55.  
  56.  
  57.  
  58. 4.    Q: I HAVE SPECIFIED CERTAIN FILES TO BE INSTALLED INTO THE WINDOWS
  59.          SYSTEM DIRECTORY WITH THE $SYSDIR COMMAND. WHY ARE THEY NOT BEING
  60.          INSTALLED?
  61.  
  62.       A: The $SYSDIR and $WINDIR lines only specify the DESTINATION of the
  63.          files on those lines (the default is to install all files into the
  64.          directory pointed to by $TARGET). When you use $SYSDIR or $WINDIR
  65.          you still have to put those files on your $DISK lines, otherwise,
  66.          they will not be installed at all.
  67.  
  68.          Another possible cause is that your files are compressed, and you
  69.          are putting their compressed names (with underscores and all) on
  70.          these lines. The only place where you should use the file names
  71.          with the underscores (if they are compressed with the -r switch)
  72.          is on the $DISK lines. In EVERY other place where you specify file
  73.          names, you MUST use the original names of the files (i.e., the
  74.          names of the uncompressed files, before they were compressed).
  75.  
  76.  
  77. 5.    Q: IN WHAT ORDER SHOULD THE ENTRIES IN MY INF FILE APPEAR?
  78.  
  79.       A: The whole INF file is read and processed at once. This means that
  80.          the order is which the reserved words appear is not important in
  81.          most cases.
  82.  
  83.          However, note that $USER-OPTION lines MUST appear before $OPTIONAL
  84.          lines, and that any reserved word which is numbered (e.g., $DISK,
  85.          $USER-OPTION, $OPTIONAL) must appear and be numbered in the correct
  86.          numerical order.
  87.  
  88.  
  89. 6.    Q: IN WHAT LANGUAGE IS YOUR INSTALLER WRITTEN, AND WILL YOU SUPPLY
  90.          THE SOURCE CODE (ON PAYMENT OF A FEE)?
  91.  
  92.       A: Chief's Installer Pro is written entirely in Borland Pascal 7.01.
  93.          I am sorry I cannot supply the source code.
  94.  
  95.  
  96. 7.    Q: AUTOCALC SEEMS TO BE GETTING THE DISK SPACE CALCULCATIONS WRONG.
  97.          WHAT GIVES?
  98.  
  99.       A: There are many causes for wrong calculations by AUTOCALC. The
  100.          primary cause is indiscriminate use of wildcards in your INF
  101.          file. Other causes, which might be related to the one already
  102.          mentioned are:
  103.  
  104.             [a] Mixing wildcards and full file names on $DISK, $SYSDIR,
  105.                 $WINDIR, $TEMPDIR, and $OPTIONAL lines - this might
  106.                 result in some files being processed more than once.
  107.  
  108.             [b] Having files in the directories being processed by
  109.                 AUTOCALC which files are not going to be on your
  110.                 distribution disks.
  111.  
  112.          The bottom line is this - if you are going to use wildcards on
  113.          your $DISK and/or $OPTIONAL lines, you need to think very
  114.          carefully about what you are doing. It is up to you to arrange
  115.          your lines so that no file is liable to be processed twice -
  116.          this is because AUTOCALC processes your INF file _exactly_ as
  117.          it finds it.
  118.  
  119.          In my view, it advisable to AVOID mixing wildcards and full file
  120.          names on $OPTIONAL lines. The $OPTIONAL lines in SAMPLE4.INF
  121.          are a good example of what will cause wrong calculations by
  122.          AUTOCALC.
  123.  
  124.  
  125.